#define _CRT_SECURE_NO_WARNINGS 
#include"Seqlist.h"

int main()
{
	FILE* pf=fopen("data.txt", "r");
	if (pf == NULL)
	{
		perror("fopen;");
	}

	FILE* pq = fopen("data_copy.txt", "w");
	if (pf == NULL)
	{
		perror("fopen;");
	}

	char ch;
	while((ch = getc(pf) )!= EOF)
	{
		putc(ch, pq);
	}

	fclose(pf);
	fclose(pq);
	pf = NULL;
	pq = NULL;


	return 0;
}